package com.rerun.entity;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * The type Province.
 */
@TableName("province")
public class Province extends Model<Province> {

  private static final long serialVersionUID = -7435677933822112599L;
  private long serialId;
  private String provinceId;
  private String provinceName;

    /**
     * Gets serial id.
     *
     * @return the serial id
     */
    public long getSerialId() {
    return serialId;
  }

    /**
     * Sets serial id.
     *
     * @param serialId the serial id
     */
    public void setSerialId(long serialId) {
    this.serialId = serialId;
  }

    /**
     * Gets province id.
     *
     * @return the province id
     */
    public String getProvinceId() {
    return provinceId;
  }

    /**
     * Sets province id.
     *
     * @param provinceId the province id
     */
    public void setProvinceId(String provinceId) {
    this.provinceId = provinceId;
  }

    /**
     * Gets province name.
     *
     * @return the province name
     */
    public String getProvinceName() {
    return provinceName;
  }

    /**
     * Sets province name.
     *
     * @param provinceName the province name
     */
    public void setProvinceName(String provinceName) {
    this.provinceName = provinceName;
  }

  @Override
  protected Serializable pkVal() {
    return this.serialId;
  }

  @Override
  public String toString() {
    return "{" +
            "serialId:" + serialId +
            ", provinceId:" + provinceId +
            ", provinceName:" + provinceName +
            '}';
  }
}
